# -*- encoding:utf-8 -*-

import urllib2
import urllib

def doGet(serverUrl, textParams):
    """get message from server"""

    form_data = urllib.urlencode(textParams)
    # print form_data

    # get data
    rsp = urllib2.urlopen(serverUrl, form_data)
    return rsp.read().decode('UTF-8');

    
